package com.woniu.shop.pojo;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 门店年收益统计表
 * </p>
 *
 * @author LiFangyu
 * @since 2023-02-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_shop_year_income")
@ApiModel(value="ShopYearIncome对象", description="门店年收益统计表")
public class ShopYearIncome implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "年收益ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "门店ID")
    private String shopId;

    @ApiModelProperty(value = "年份")
    private String year;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "逻辑删除;0:正常 1:删除")
    @TableLogic
    private String isDeleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedTime;


}
